//
//  WarringContentVC.m
//  MovieDate
//
//  Created by 杨运涛 on 16/4/18.
//  Copyright © 2016年 MovieDate. All rights reserved.
//

#import "WarringContentVC.h"

@interface WarringContentVC ()

@property (weak, nonatomic) IBOutlet UITextField *pTxtMessage;

@end

@implementation WarringContentVC

- (void)initInfo {
    [super initInfo];
    [self selAddLeftBackButton];
    [self selDefaultNavigationBackground];
}

- (IBAction)btnWarringAction:(id)sender {
    NSString *strMessage = _pTxtMessage.text;
    NSString *strTime = [[User defaultUser] getCurTime];
    strTime = [strTime substringToIndex:10];
    strTime = [strTime stringByReplacingOccurrencesOfString:@"/" withString:@"-"];
    [self selInform:@"-99" passiveObjID:self.pStrID appTime:strTime andContent:strMessage];
    
    [TDNetwork requestDeleteCollection:deleteCollection_interface toUid:_pStrID complete:^(BOOL succeed, NSString *ret, NSDictionary *dictionary) {
    }];
}

@end
